package com.hzqiuxm.tdddemo001.params;

import org.junit.jupiter.api.extension.BeforeEachCallback;
import org.junit.jupiter.api.extension.ExtensionContext;

/**
 * Copyright © 2020年 tdd-demo-001. All rights reserved.
 *
 * @author 临江仙 hzqiuxm@163.com
 * 自定义扩展每个测试方法前的额外行为扩展
 * @date 2020/6/30 11:30
 */

public class MyBeforeEachCallbackExtension implements BeforeEachCallback {
    @Override
    public void beforeEach(ExtensionContext context) throws Exception {

        System.out.println("displayName : "  + context.getDisplayName());
    }
}
